package com.system_jsp.bean;

public class UserBean {
	private int id;
	private String username;
	private String passwd;
	private String gender;
	private String birth;
	private String phone;
	private String address;
	private String regdate;

	public UserBean() {
		super();
	}

	public UserBean(int id, String username, String passwd, String gender,
			String birth, String phone, String address, String regdate) {
		this.id = id;
		this.username = username;
		this.passwd = passwd;
		this.gender = gender;
		this.birth = birth;
		this.phone = phone;
		this.address = address;
		this.regdate = regdate;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPasswd() {
		return passwd;
	}

	public void setPasswd(String passwd) {
		this.passwd = passwd;
	}

	public String getGender() {
		return gender;
	}

	public void setGender(String gender) {
		this.gender = gender;
	}

	public String getBirth() {
		return birth;
	}

	public void setBirth(String birth) {
		this.birth = birth;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getRegdate() {
		return regdate;
	}

	public void setRegdate(String regdate) {
		this.regdate = regdate;
	}

	@Override
	public String toString() {
		return "userinfoBean [id=" + id + ", username=" + username
				+ ", passwd=" + passwd + ", gender=" + gender + ", birth="
				+ birth + ", phone=" + phone + ", address=" + address
				+ ", regdate=" + regdate + "]";
	}
}
